﻿
@{

    Layout = "~/Views/Shared/_Layout.cshtml";
}
<blockquote class="layui-elem-quote1 quoteBox layui-form layui-search">
    <div class="layui-form-item" style="margin-bottom:0px">
        <label class="layui-form-label">模糊查询：</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input" id="txtKeyWord" name="txtKeyWord" placeholder="岗位名称/描述" />
        </div>
        <div class="layui-inline">
            <a class="layui-btn" id="funBtnSearch"><i class="layui-icon layui-icon-list"></i>搜索</a>
        </div>
    </div>
</blockquote>

<div class="layui-form">
    <div class="layui-table-tool tool-btn">
        <a class="layui-btn  layui-btn-darkblue" id="funBtnAdd"><i class="layui-icon layui-icon-add-1"></i>新增</a>
        <a class="layui-btn  layui-btn-lightgreen" id="funBtnMenu"><i class="layui-icon layui-icon-auz"></i>用户</a>

        <a class="layui-btn  layui-btn-lightgreen" id="funBtnEdit"><i class="layui-icon layui-icon-edit"></i>修改</a>
        <a class="layui-btn  layui-btn-danger " id="funBtnRemove"><i class="layui-icon layui-icon-delete"></i>删除</a>
    </div>
    <table class="layui-hide" id="postList" lay-filter="postList"></table>
</div>

@section Foot
    {
    <script type="text/html" id="switchValidTpl">
        <input type="checkbox" name="is_valid" value="{{d.id}}" lay-skin="switch" lay-text="启用|停用" lay-filter="funBtnValid" {{ d.is_valid == true ? 'checked' : '' }}>
    </script>
    <script type="text/html" id="gridTool">
        <a class="layui-btn layui-btn-xs layui-btn-lightgreen" lay-event="funBtnEdit"><i class="layui-icon layui-icon-edit"></i>修改</a>
        <a class="layui-btn layui-btn-xs layui-btn-lightgreen" lay-event="funBtnMenu"><i class="layui-icon layui-icon-auz"></i>用户</a>
        <a class="layui-btn layui-btn-xs layui-btn-danger " lay-event="funBtnRemove"><i class="layui-icon layui-icon-delete"></i>删除</a>
    </script>

    <script src="~/areas/authority/js/post.list.js"></script>
}

